package com.yidu.best.systemManagement.resourceManagement.dao;

import java.util.List;


import com.yidu.best.systemManagement.resourceManagement.domain.Resource;

public interface ResourceDao {
	/**
	 * 查找资源
	 * @return
	 */
	public List<Resource> findAll(Resource resource);
	/**
	 * 添加资源
	 * @return
	 */
	public int AddResource(Resource resource);
	/**
	 * 修改资源
	 * @param 
	 * @return
	 */
	public int UpdateResource(Resource resource);
	/**
	 * 删除资源
	 * @param resourceId
	 * @return
	 */
	public int DeleteResource(String resourceId);
	
	public List<Resource> selectAll();
	
	public int Updateusable(Resource resource);
}
